package com.itheima.mapper;

import com.itheima.domain.City;
import com.itheima.domain.Pro;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ProMapper {

    @Select("select * from province")
    List<Pro> findAll();

    @Select("select * from city where pid = #{pid} ")
    List<City> findByPid(String pid);
}
